$bool = Fs.Start
("<appName>", "<modeSync>")
Spawns an application from the IVR script.
Parameters
<appName> Application name.
<modeSync> Mode of synchronization: blocking (modeSync=TRUE) and non-blocking (modeSync=FALSE).
Return Value
Returns TRUE if successful, else returns FALSE.
Remarks
- For modeSync TRUE, the IVR script gets blocked; the function waits for the application to complete before it proceeds further. On the other hand, when modeSync is FALSE the function returns immediately and resumes the script execution on initiating the application; the function is not blocked by any other program execution.
Example
$src = "C:\ivr\File.txt"
$status = fs.Start ($src,TRUE)
- $status contains 1. Here, the function calls notepad.exe with "c:\ivr\File.txt" as its argument and waits for the notepad to exit.